# Matches no tests
go test -run ThisWillNotMatch standalone_test.go
stdout '^ok.*\[no tests to run\]'

-- standalone_test.go --
package standalone_test

import "testing"

func Test(t *testing.T) {
}